package interfaces

import (
	"context"
	"task00/pkg/domain/osmData"
)

type OsmDataRepository interface {
	Migrate(ctx context.Context) error
	POST(ctx context.Context, region *osmData.Region) (*osmData.Region, error)
	Put(ctx context.Context, id int64, region *osmData.Region) (*osmData.Region, error)
	Get(ctx context.Context, id int64) (*osmData.Region, error)
	Delete(ctx context.Context, id int64) error
}
